﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 发货通知单明细（楼号）
    /// </summary>
    [Table("PB_DeliveryNoticeItem")]
    public partial class PB_DeliveryNoticeItem
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 通知人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 通知人姓名
        /// </summary>
        public String CreatorName { get; set; }

        /// <summary>
        /// 是否已删除：0-否；1-是
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 主表ID
        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// 清单ID
        /// </summary>
        public String DesignId { get; set; }

        /// <summary>
        /// 楼号名称
        /// </summary>
        public String BuildingNo { get; set; }

        /// <summary>
        /// 进场时间
        /// </summary>
        public DateTime? InDate { get; set; }

        /// <summary>
        /// 产品要求
        /// </summary>
        public String Requirement { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Remark { get; set; }

        /// <summary>
        /// 发货状态:0-备货中；1-已发货；
        /// </summary>
        public Int32? ShipmentStatus { get; set; }

        /// <summary>
        /// 审核状态：0-待审核；1-已通过；2-打回（预留）
        /// </summary>
        public Int32? AuditStatus { get; set; }
        /// <summary>
        /// 手动输入数量
        /// </summary>
        public Int32? NumberIn { get; set; }
        /// <summary>
        /// 通知单名称
        /// </summary>
        public string ListSubName { get; set; }

        /// <summary>
        /// 设计清单类型
        /// </summary>
        public Int32? DesignListType { get; set; }

        /// <summary>
        /// 设计清单类型楼号名称
        /// </summary>
        public string BuiName { get; set; }

        /// <summary>
        /// 工厂Id
        /// </summary>
        public string DeptId { get; set; }

    }
}